:INICIO
echo .
echo .
echo qual solution vc deseja compilar?
echo -----------------------------------------
echo MENU: 2 ---------------------------------
echo --- 1 - _acesso.sln
echo --- 2 - _babok.sln
echo --- 3 - _design_pattern.sln
echo --- 4 - _framework.sln
echo --- 5 - _mockup.sln
echo --- 99 - voltar ao menu.sln
echo ---------------------------------
echo ---------------------------------
set /p compilar=qual solution deseja compilar?:
if "%compilar%"=="1" (GOTO ACESSO)
if "%compilar%"=="2" (GOTO BABOK)
if "%compilar%"=="3" (GOTO DESIGN_PATTERNS)
if "%compilar%"=="4" (GOTO FRAMEWORK)
if "%compilar%"=="5" (GOTO MOCKUP)
if "%compilar%"=="99" (GOTO SAIR) else (GOTO INICIO)
:ACESSO
copy _tools\_acesso.sln
MSBuild _acesso.sln /property:Configuration=Release  /t:rebuild /t:clean /clp:PerformanceSummary; /v:minimal /flp1:logfile=erros.txt;errorsonly
notepad erros.txt
del _acesso.sln
del _acesso.sln.cache
echo build numero %compilar% finalizado
GOTO INICIO
:BABOK
copy _tools\_babok.sln
MSBuild _babok.sln /property:Configuration=Release /t:rebuild /t:clean /clp:PerformanceSummary; /v:minimal /flp1:logfile=erros.txt;errorsonly
notepad erros.txt
del _babok.sln
del _babok.sln.cache
echo build numero %compilar% finalizado
GOTO INICIO
:DESIGN_PATTERNS
copy _tools\_design_pattern.sln
MSBuild _design_pattern.sln /property:Configuration=Release /t:rebuild /clp:PerformanceSummary; /v:minimal /flp1:logfile=erros.txt;errorsonly
notepad erros.txt
del _design_pattern.sln
del _design_pattern.sln.cache
echo build numero %compilar% finalizado
GOTO INICIO
:FRAMEWORK
copy _tools\_framework.sln
MSBuild _framework.sln /property:Configuration=Release /t:build /clp:PerformanceSummary; /v:minimal /flp1:logfile=erros.txt;errorsonly
notepad erros.txt
del _framework.sln
del _framework.sln.cache
echo build numero %compilar% finalizado
GOTO INICIO
:MOCKUP
copy _tools\_mockup.sln
MSBuild _mockup.sln /property:Configuration=Release /t:build /clp:ErrorsOnly; /v:minimal /flp1:logfile=erros.txt;errorsonly
notepad erros.txt
del _mockup.sln
del _mockup.sln.cache
echo build numero %compilar% finalizado
GOTO INICIO
:SAIR
_tools\menu